package run.halo.app.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yangxin
 * @date 2019/12/13
 */
@Data
@ConfigurationProperties("bark")
@Component
public class BarkProperties {

    /**
     * bark请求路径
     */
    private String url;

    /**
     * bark请求key
     */
    private String key;

}